<?php

use yii\db\Migration;

class m170725_014607_alter_cate extends Migration
{
    public function safeUp()
    {

        $this->addColumn('{{%cate}}', 'wechat_banner', $this->string(166) . ' default null comment \'微信分类banner\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%cate}}', 'wechat_banner');

    }
}
